<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c"  uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>

<head>
		<meta charset="UTF-8">
		<title>用户订单列表</title>
		<link rel="stylesheet" type="text/css" href="../bootstrap-3.3.7-dist/css/bootstrap.min.css"/>
	</head>
	<body>
	<%!
	public String getColor(int i){
		return i%2==0?"#00AAFF":"#CCDF14";
	}
	%>
	
		
			
				<form action="doPlayer.jsp" method="post">
				
							
							<font color='red'>
							当前用户：
								${sessionScope.USER_IN_SESSIONSCOPE.userName }
							上次登录时间：
								${sessionScope.USER_IN_SESSIONSCOPE.lastDate }
							</font>
					
					<h1 align="center">用户订单列表</h1>
					<table align="center" border="1" width="1000" height="600" cellpadding="0" cellspacing="0" >
						
						
							<tr>
								<th class="text-center">编号</th>
								<th class="text-center">订单编号</th>
								<th class="text-center">下单时间</th>
								<th class="text-center">用户ID</th>
								<th class="text-center">订单总金额</th>
								<th class="text-center">状态</th>
								<th class="text-center">订单来源</th>
								<th class="text-center">收货人姓名</th>
								<th class="text-center">收货人电话</th>
								<th class="text-center">收货地址</th>
								<th class="text-center">操作1</th>
								<th class="text-center">操作2</th>
							</tr>
							<c:if test="${ empty sessionScope.HOUSES_IN_SESSIONSCOPE }">
									<c:forEach var="hm" items="${ sessionScope.HOUSES_IN_SESSIONSCOPE }" >
										${hm }
									</c:forEach>
							</c:if>
								<tr>
									<td  colspan="10">还没有添加任何数据，请先<a href="#">添加</a></td>
								</tr>
						
						
							
							
					</table>
				</form>
				
				
			
	</body>
</html>